{App::registerCoreScript('jquery')}
{App::registerCoreScript('base')}
{foreach $errors as $error}
	<div class="errors">
		<div class="error">
			<span class="code">{$error['code']}</span>
			<span class="message">{$error['message']}</span><br/>
			<span class="file slide_handler">{$error['file']}</span><br/>
			<span class="file_content slide_toggle">{$error['file_content']}</span>
			<!--<span class="line">{$error['line']}</span>-->
			{if isset($error['trace']) && count($error['trace'])}
				<span class="traces">
					{$error['traceAsSting']}
					{foreach $error['trace'] as $i => $t}
						<span class="trace">
							<h3>{$i}. {$t['funtion']} <span class="file slide_handler">({$t['file']})</span><br/></h3>
							<span class="file_content slide_toggle">{$t['file_content']}</span>
						</span>
					{/foreach}
				</span>
			{/if}
		</div>
	</div>
{/foreach}